package com.gx.smart.lib.http.api.service

import com.gx.smart.lib.http.api.UploadFile
import okhttp3.MultipartBody
import retrofit2.Call
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.Part

/**
 * @author xiaosy
 * @create 1/18/21
 * @Describe
 */
interface CommonService {
    //上传图片
    @Multipart
    @POST("upload")
    fun uploadFile(@Part imagePicFile: List<MultipartBody.Part>): Call<UploadFile?>?
}